export default defineAppConfig({
  pages: [
    "pages/index/MicroPage/index",
    // "pages/index/user/index",
    "pages/index/shop/index",
    "pages/index/me/index",
    "pages/index/information/index",
    "pages/index/redirect/index",
    "pages/index/LoginSelect/index",
  ],
  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#fff",
    navigationBarTitleText: "WeChat",
    navigationBarTextStyle: "black",
    // pageOrientation:'landscape'
  },
  tabBar: {
    color: "#979797",
    selectedColor: "#1677FF",
    backgroundColor: "#fafafa",
    borderStyle: "black",
    list: [
      {
        pagePath: "pages/index/MicroPage/index",
        iconPath: "./assert/tabbar/user.png",
        selectedIconPath: "./assert/tabbar/userCheck.png",
        text: "首页",
      },
      {
        pagePath: "pages/index/shop/index",
        iconPath: "./assert/tabbar/shop.png",
        selectedIconPath: "./assert/tabbar/shopCheck.png",
        text: "商品",
      },
      {
        pagePath: "pages/index/me/index",
        iconPath: "./assert/tabbar/me.png",
        selectedIconPath: "./assert/tabbar/meCheck.png",
        text: "我的",
      },
    ],
  },
  subPackages: [
    {
      root: "pages/order",
      pages: [
        "OrderDetail/index", //订单详情
        "OrderList/index", // 订单列表
        "Course/index", // 订单列表
        "PrizeList/index", // 奖品列表
        "SelectedCourses/index", // 领取课程列表
        "PayOrder/index", // 支付页面
        "OrderWeex/index", // 微信支付页面
        "OrderCenter/index", // 订单中心
      ],
    },
    {
      root: "pages/shop",
      pages: [
        "PayShopDetail/index", //购买的商品详情
        "VideoDetails/index", //观看视频
        "ShopDetail/index", //商品详情
        "RenderLink/index",
        "selectOrganization/index",
        "SearchList/index", //搜索商品
        "ShopList/index", //搜索商品
        "SecondKillList/index", //秒杀商品
        // "Landscape/index", //直播详情
        "WxPageInfo/index", //秒杀商品
        "WebView/index", //秒杀商品
        "CollectWps/index", //问卷信息页面
        "FormList/index", //问卷信息页面
        "AddressBookList/index", //地址列表
        "SetAddressBook/index",//设置地址
        "MsView/index",//说明
        "SetEmpty/index",
        "Empty/index",
      ],
    },
    {
      root: "pages/login",
      pages: [
        "index", //商品详情
      ],
    },
  ],
});
